package com.zmm.util.auth.registry.annotation;

import com.zmm.util.auth.registry.AuthenticationRegistry;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 是否启动认证 ---> 需要去 ***Application 中开启
 * @author 900045
 * @description:
 * @name EnableAuthentication
 * @date By 2021-07-06 09:25:20
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(AuthenticationRegistry.class)
public @interface EnableAuthentication {
}
